<style type="text/css">
    /*<![CDATA[*/
    body {
        font-family: "Verdana";
        font-weight: normal;
        color: black;
        background-color: white;
    }

    h1 {
        font-family: "Verdana";
        font-weight: normal;
        font-size: 18pt;
        color: red
    }

    h2 {
        font-family: "Verdana";
        font-weight: normal;
        font-size: 14pt;
        color: maroon
    }

    h3 {
        font-family: "Verdana";
        font-weight: bold;
        font-size: 11pt
    }

    p {
        font-family: "Verdana";
        font-size: 9pt;
    }

    pre {
        font-family: "Lucida Console";
        font-size: 10pt;
    }

    em {
        font-weight: bold;
        font-style: normal;
    }

    .version {
        color: gray;
        font-size: 8pt;
        border-top: 1px solid #aaaaaa;
    }

    .message {
        color: maroon;
    }

    .source {
        font-family: "Consolas, Courier, Lucida Console";
        font-weight: normal;
        background-color: #ffffee;
    }

    .error {
        background-color: #ffeeee;
    }

    /*]]>*/
</style>


<div style="font-family: Arial,Helvetica,sans-serif">
    <h2>未捕获的异常</h2>
    <div class="message">
        <?php echo $exception->getMessage(); ?>
    </div>
    <?php if (count($params)): ?>
        <h3>其他参数:</h3>
        <ul>
            <?php foreach ($params as $key => $value): ?>
                <li><em><?php echo $key; ?></em>:
                    <?php
                    if (is_array($value)) {
                        echo "<ul>";
                        foreach ($value as $k => $v) {
                            echo "<li><em>$k</em>:$v</li>";
                        }
                        echo "</ul>";
                    } else {
                        echo $value;
                    }
                    ?></li>
            <?php endforeach; ?>
        </ul>
    <?php endif; ?>

    <div>
        <h3>出错文件:</h3>
        <div><?php echo $exception->getFile() . "(" . $exception->getLine() . ")"; ?></div>
    </div>
    <h2>调用栈</h2>
    <pre>
<?php echo $exception->getTraceAsString(); ?>
	</pre>
</div>

<div class="version">Notified by Exception Watcher <?php echo date('Y-m-d H:i:s', time()); ?></div>
